body, table, tr, td, form {
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-family: tahoma, arial, verdana, sans-serif, Lucida sans-serif;
}

input {
    font-size:12px;
    height:16px;
}
a {
    font-size:12px;
}

/** Фейковый класс для переопредения стилей элементов richfaces*/
.fake-app{}

a.fake-app {
    color: #0078D0;
    text-decoration: none;
}

a.fake-app:visited {
    color: #0078D0;
    text-decoration: none;
}

a.fake-app:hover {
    color: #0078D0;
    text-decoration: underline;
}

.overdue {
    background: url("/resources/img/background-red.png") repeat;
}

.finish-loan {
    background-color: green;
}

.number-column {
    text-align: right;
}

.date-column {
    text-align: center;
}

.content {
    padding: 20px;
    margin-bottom: 30px;
}

.popup_overlay {
    position: fixed;
    left:  0;
    top:  0;
    width: 100%;
    height: 100%;
    z-index: 999
}

.popup-ajax-loader {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin-left: -24px;
    margin-top: -24px
}

.login_form {
    position: fixed;
    left: 40%;
    top: 35%;
    height: 137px;
    width: 240px;
    border-top:4px solid #a6d8f4;
    border-bottom:4px solid #90a0a9;
    background: #dfdbeb url("/resources/img/login_form_bg.png") left top no-repeat;
    padding: 30px 30px 19px 40px;
}
.login_form .loginRow {
    margin-top: 20px;
    margin-left: 10px;
}

.login_form .loginRow input{
    float:right;
    width: 140px;
    height: 18px;
}

.login_form .buttons .loginButton{
    float:right;
    vertical-align: middle;
    width: 70px;
    height:18px;
}
.logged_panel {
    marnin-top:20px;
    margin-left:20px;
}

.itemPageLabel {
    display:block;
    margin-top:20px;
}

.all_loan_list_page {
    overflow:hidden;
    text-align:center;
}

.for_add_form {
    overflow:hidden;
    text-align:center;
    padding:20px;
}

.add_form {
     margin:auto;
     width: 345px;
     border-top:4px solid #a6d8f4;
     border-bottom:4px solid #c6c3bd;
     border-left:4px solid #c6c3bd;
     background: #dfdbeb url("/resources/img/add_form_left_bottom_corner.png") left bottom no-repeat;
     padding: 15px;
     text-align: left;
}

.add_form input[type="text"]{
    width: 200px;
}

.add_form input[type="submit"]{
    display:block;
    width: 100px;
    float:right;
}

.all_loan_list_page .rf-dt {
    margin: auto;
}

.all_loan_list_page .addDeptorButton[type="submit"] {
    color: #0078D0;
    font-size:12px;
    font-weight: bold;
    width:16px;
    height:18px;
    border:1px solid #c6c3bd;
    border-left:none;
    background-image: url("/resources/img/plus_bg.png");
    background-position: left top;
    background-repeat: no-repeat;
}

#allDebtorsForm .addDeptorButton[type="submit"] {
    color: #0078D0;
    font-size:12px;
    font-weight: bold;
    width:16px;
    height:18px;
    border:1px solid #c6c3bd;
    background-image: url("/resources/img/plus_bg.png");
    background-position: left top;
    background-repeat: no-repeat;
}

.all_loan_list_page .addNewLoantButton {
     padding: 5px 0px 0px 0px;
 }

.all_loan_list_page .addNewLoantButton input{
    height: 18px;
}

div.footer.fake-app {
    height: 35px;
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;
    background: #EEE6D6;
}

.error-messages{
    color: red;
}

.warning-messages{
    color: yellow;
}

.info-message{
    color: green;
}

input[type="submit"].edit-button{
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    cursor:pointer;
    background: url("/resources/img/edit.png") no-repeat 0px 0px;
}

input[type="submit"].delete-button{
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    background: url("/resources/img/delete.png") no-repeat 0px 0px;
    border: 0;
    cursor:pointer;
}

input[type="submit"].finish-button{
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    background: url("/resources/img/finish_flag.png") no-repeat 0px 0px;
    border: 0;
    cursor:pointer;
}

.tooltip {
    background-color: #9acd32;
    border-width:3px;
}
.tooltip-custom-body {
    background-color: orange;
}

.tooltip-text {
    width: 350px;
    height: 80px;
    cursor: pointer;
    border-width: 2px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.tooltipData {
    font-weight: bold;
}

div.rf-p.fake-app{
    padding: 0;
    border-width: 0;
}
div.rf-p.fake-app > div.rf-p-b{
    padding: 0;
    border-width: 0;
}

span.rf-ddm-itm-lbl {
    color: #0078D0;
    text-decoration: none;
}

span.rf-ddm-itm-lbl:visited {
    color: #0078D0;
    text-decoration: none;
}

span.rf-ddm-itm-lbl:hover {
    color: #0078D0;
    text-decoration: underline;
}

.active-report{
    background-color: #D8CD68;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.ellipsis {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -moz-binding: url('/examples/text-overflow.xml#ellipsis');
}